#!/usr/local/bin/php
<?php

include_once("dzimpexp.php");
include_once("sofiles.php");

$argv = soGetArgv();

if (in_array($argv[1], array("-h", "--help"))) {
    echo "dzimport [import folder]\n\n";
} else {
    echo $argv[1]." import\n";
    $ini = soFileToString("dzimport.ini", 1);
    dzImport($ini, $argv[1]);
};

?>
